package at.fhhagenberg.mcm09.elevator.control;

import java.util.LinkedList;
import java.util.Queue;

import junit.framework.TestCase;
import at.fhhagenberg.mcm09.elevator.model.StopRequest;

public class TestQueue extends TestCase{

	private Queue<StopRequest> stopQueue;
	private Queue<StopRequest> queue;
	
	public void testQueue() {
		stopQueue = new LinkedList<StopRequest>();
		queue = new LinkedList<StopRequest>();
		assertTrue(stopQueue.equals(queue));
		StopRequest request =  new StopRequest(0);
		stopQueue.add(request);
		queue.add(request);
		assertTrue(stopQueue.equals(queue));

	}

}
